<template>
  <div id="app">
    <header class="header">
      <h1>代码转换器</h1>
      <p class="subtitle">将您的代码转换为美观的文档格式</p>
    </header>
    <code-converter />
  </div>
</template>

<script>
import CodeConverter from './components/CodeConverter.vue'

export default {
  name: 'App',
  components: {
    CodeConverter
  }
}
</script>

<style>
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #f8f9fa;
  --text-color: #2c3e50;
  --border-color: #e9ecef;
}

body {
  margin: 0;
  background-color: var(--background-color);
}

#app {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-color);
  min-height: 100vh;
}

.header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
}

.subtitle {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}
</style> 